import { nanoid } from "nanoid";

export const config = {
	grid: {
		visible: false,
		size: 5
	},
	background: {
		backgroundImage: 'url("")',
		backgroundRepeat: 'repeat'
	},
	idGenerator(type) {
		const id = nanoid(5);
		return type + id;
	},
	edgeType: 'common-line',
	snapline: true,
	pluginsOptions: {
		miniMap: {
			showEdge: true,
			isShowCloseIcon: true
		},
	}
}
